package com.mp.students;

import org.activiti.spring.boot.SecurityAutoConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * exclude = SecurityAutoConfiguration.class spring boot启动错误
 */
@SpringBootApplication(exclude = SecurityAutoConfiguration.class)
@ComponentScan("com.mp.students")
@MapperScan("com.mp.students.dao")
@EnableSwagger2
public class DemoApplication {
    public static void main(String[] args) {
        SpringApplication.run(DemoApplication.class, args);
    }
}
